package com.ruoyi.product.controller;


import com.ruoyi.common.core.domain.R;
import com.ruoyi.product.domain.dto.WoOpLogDto;
import com.ruoyi.product.domain.dto.WoRawDto;
import com.ruoyi.product.service.WoOpLogService;
import com.ruoyi.product.service.WoRawService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/woOpLog")
public class WoOpLogController {
    @Autowired
    WoOpLogService woOpLogService;


    @PostMapping("/getWoOpLogByPage")
    public R export(@RequestBody WoOpLogDto woOpLogDto)
    {
        return R.ok(woOpLogService.getWoOpLogByPage(woOpLogDto));
    }

}
